﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Istace.Framework.Mapping.Core.Configuration;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Istace.Framework.Mapping.UnitTest
{
    [TestClass]
    public class ConfigurationSectionTest
    {
        [TestMethod]
        public void ShouldReturnEmptyOnTryGetnotExistingConfigSection()
        {
            var section = MappingAssemblyConfigSection.GetConfigSection("notExistingSetction");
            Assert.IsTrue(section.RegisteredAssemblies.Count == 0);
        }
    }
}
